body {
    padding: 0;
    margin: 0;
}

div#lines {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 0;
    overflow-y: scroll;
}

div.line {
    border-bottom-style: dotted; 
    width: 100%;
    background: #FFFFEE;
}

select.control {
    min-width: 40px;
    max-width: 100px;
}

ul.grid {
    height: 200px;
    padding: 0;
    margin-left: 10px;
    margin-right: 10px;
}

ul.grid li {
    list-style: none outside;
    float: left;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}

div.pageTop
{
    height: 22px;
}

div.numPage 
{
    margin-left: 5px;
    display: inline;
}

a.pageLinks 
{
    margin-left: 5px;
    display: none;
}

a.transcription, a.deletePage
{
    margin-left: 5px;
}

ul.grid li img {
  vertical-align: middle;
  width: auto;
  height: 200px;
}

div.controls {
    text-align: center;
}

a.control, select.control {
    margin-right: 5px;
}

div#menu {
    top: 0;
    left: 0;
    width: 100%;
    height: 25px;
    padding: 0px;
    position: absolute;
    background: #FFFFCC;
    overflow-x: auto;
}

div#files {
    display: none;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 150px;
    padding: 0px;
    position: absolute;
    background: #CCFFCC;
    overflow-x: auto;
    z-index: 50;
}

div#insertDiv, div#newViewDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: purple;
}

div#newViewLabel, div#insertLabel {
    display: inline;
    color: white;
    margin: 5px;
}

input#newViewInput, input#insertInput {
    display: inline;
    margin: 5px;
    width: 400px;
}

button#newViewButton, button#insertButton {
    display: inline;
    margin: 5px;
}

button#cancelNewViewButton, button#cancelInsertButton {
    display: inline;
    margin: 5px;
}

div#userName {
    display: inline;
}

div.autocomplete {
    position: absolute;
    background: purple;
    height: 200px;
    overflow-y: auto;
}

div.autocomplete a {
    display: block;
    margin: 2px;
    padding: 0px;
    color: white;
}

form#postRelations, form#editRelations {
	display: inline;
}

a.fileLabel {
	margin: 4px;
	padding: 4px;
	border: 2px solid blue;
}
div#filesLabels {
	margin-top: 8px;
}
